<?php
$this->headTitle('Duyệt Tin Vip','append');
?>
<div class="dashboard-menu dashboard-admin">
    <span class="back">&nbsp;</span>
    <h1>Duyệt Tin Vip</h1>
</div>
<div class="row placeholders">
    <div class="col-md-12">
        <div class="widget-big">
            <div class="table table-responsive">
                <div class="search-result">
                    <table class="table table-bordetext-danger table-striped table-condensed table-hover" border="0" cellspacing="0" cellpadding="0">
                        <thead>
                            <tr class="warning">
                                <th style="width:5%;">ID</th>
                                <th style="width:10%;">Khu Vực</th>
                                <th style="width:20%;">Danh Mục</th>                            
                                <th style="width:25%;">Tiêu Đề</th>                                                                                                                                
                                <th style="width:10%;">Ngày tạo</th>
                                <th style="width:15%;" class="text-right">Liên Hệ</th>
                                <th style="width:10%;">Di Động</th>                                
                                <th style="width:5%;">Duyệt</th>
                            </tr>
                        </thead>
                        <tbody>
                        <?php                                                
                            foreach ($this->productList as $pro){                                
                        ?>
                            <tr>
                                <td style="width:5%;" class="text-left"><?=$pro['id'];?></td>
                                <td style="width:10%;" class="text-left"><?=$pro['areaName'];?></td>
                                <td style="width:20%;" class="text-left"><?=$pro['catName'];?> &raquo; <?=$pro['itemName'];?></td>                                
                                <td style="width:25%;" class="text-left"><?=$pro['title'];?></td>                                                                                                                                                                                               
                                <td style="width:10%;" class="text-right"><?=date('Y-m-d H:i',$pro['createDate']);?></td>
                                <td style="width:15%;" class="text-right"><?=$pro['contact'];?></td>
                                <td style="width:10%;" class="text-left"><?=$pro['mobile'];?></td>
                                <td style="width:5%;" class="text-right">  
                                    <a class="glyphicon glyphicon-file" href="<?=$this->url(array('module'=>'admin', 'controller'=>'product', 'action'=>'editvip', 'id'=>$pro['id']))?>" title="Duyệt Tin"></a>                              
                                    
                            </tr>
                        <?php
                            } 
                        ?>
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
</div>